Remove in-en
article thumbnail

Content Delivery – Removing necessary fields and how to add new fields to the API response

Perficient Digital Transformation

To filter the API response and remove the fields that you don’t need and/or remove the null field to get the nicer and clearer output you need to use IContentApiModelFilter which is explained in the Optimizely documentation. But, that didn’t work for me how I wanted.

article thumbnail

Internationalization (I18n) Implementation in React

Perficient Digital Transformation

translations/es.json"; // Import JSON file for Spanish Language const resources = { en: { translation: translationEN, }, es: { translation: translationES, }, // Add translations for other languages here }; i18n.use(initReactI18next).init({ It involves adapting your application to different languages and regions seamlessly.

professionals

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Exploring HTML Template Engines for Node.js

Perficient Digital Transformation

Installation: npm install pug Example: doctype html html(lang="en") head title My Website body h1 Welcome to My Website – Pub HTML Template Engine p#intro Hello, #{name}! The fusion of HTML template engines with Node.js has sparked a transformative wave in web development, reshaping the landscape of dynamic web application creation.

article thumbnail

Going Multilingual in Sitecore Part 4: Multiple Languages in SXA

Perficient Digital Transformation

Welcome back to Going Multilingual in Sitecore. It’s been a while since I’ve worked on a site that had content in multiple languages. I was thankful to my 2019 self that I had written these articles. Back then, I was using Sitecore 8.X. Today I am using Sitecore 10.X X with SXA. Let’s take a look! xml version="1.0"?>

Design 64
article thumbnail

Ejecutivos/as Venta Telefonía Movil Lunes a Viernes, 30 y 45 hrs / Call Center R. Metropolitana

CGS Inc

CGS Call Center, empresa multinacional líder en el rubro, requiere contratar Ejecutivos/as de Venta para su exitoso equipo de televenta de telefonía móvil con precios especiales en convenio, de la más reconocida empresa de Telecomunicaciones nacional, en la Región Metropolitana.

article thumbnail

Translating Different Content Types Using Helsinki-NLP ML Model from Hugging Face

Perficient Digital Transformation

from transformers import MarianMTModel, MarianTokenizer model_name = "Helsinki-NLP/opus-mt-en-fr" model = MarianMTModel.from_pretrained(model_name) tokenizer = MarianTokenizer.from_pretrained(model_name) Tokenize the input: Before translating the text, we need to tokenize it using the appropriate tokenizer.

article thumbnail

Fixing Missing Token in For This {0}

Perficient Digital Transformation

> <languages> <language name="English" id="en"> <contenttypes> <CategoryData> <name>Working Category! </name> I recently encountered an issue where my non-content blocks (site settings, categories, etc.) were producing a “For This” folder with a missing token. Like so: <?xml

52